﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'DeleteDetalleGuiaRemisionByGuiaRemision')
	BEGIN
		DROP  Procedure  DeleteDetalleGuiaRemisionByGuiaRemision
	END

GO

CREATE Procedure DeleteDetalleGuiaRemisionByGuiaRemision
	@idGuiaRemision int
AS

DELETE FROM DetalleGuiaRemision WHERE IdGuiaRemision = @idGuiaRemision

GO


GRANT EXEC ON DeleteDetalleGuiaRemisionByGuiaRemision TO PUBLIC

GO
